package com.runfast.paotui.service;

import com.runfast.common.service.IService;
import com.runfast.paotui.dao.model.RunfastDeliverCost;
import com.runfast.paotui.dao.model.RunfastDeliverCostExample;

import java.util.List;
import java.util.Map;

public interface RunfastDeliverCostService extends IService<RunfastDeliverCost, Integer, RunfastDeliverCostExample> {
    RunfastDeliverCost getDefaultDeliveryTemplate(Integer agentId);


    Map<String, Integer> getDeliveryCost(Integer distance, Integer weight, RunfastDeliverCost deliveryTemplate);
    List<RunfastDeliverCost> findAll();

    RunfastDeliverCost get(Integer id);
}